package com.wen.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wen.common.pojo.system.Permission;
import org.apache.ibatis.annotations.*;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    // 查询所有权限		--(权限表)
//    @Select("select * from cms_permission")
//    List<Permission> getAllPermission();

    List<Permission> selectMenuList(Permission  permission);



}
